package simple.example;


class EmployeePersonal1 extends EmployeeOfficial1 implements EmployeePersonalInt1
{
	private int EmpAge, EmpSalary;
	private String EmpName, EmpAddress;
	
	public void GetEmpInformation1 (int EmpAge, int EmpSalary, String EmpName, String EmpAddress)
	{
		this.EmpAge 	= EmpAge;
		this.EmpSalary 	= EmpSalary;  
		this.EmpName   	= EmpName;
		this.EmpAddress	= EmpAddress;
	}
	
	public void PutEmpInformation1()
	{
		System.out.println("Employee Name		:" +EmpName);
		System.out.println("Employee Address	:" +EmpAddress);
		System.out.println("Employee Age		:" +EmpAge);
		System.out.println("Employee salary		:" +EmpSalary);
	}
	
}

class EmployeeOfficial1
{
	private int WorkingHours;
	private String EmpDepertment, EmpDesignation;
	
	void GetEmpInformation2(int WorkingHours, String EmpDepertment, String EmpDesignation)
	{
		this.WorkingHours 	= WorkingHours;
		this.EmpDepertment 	= EmpDepertment;  
		this.EmpDesignation	= EmpDesignation;
	}
	
	void PutEmpInformation2()
	{
		System.out.println("Employee Department	:" +EmpDepertment);
		System.out.println("Employee Designation	:" +EmpDesignation);
		System.out.println("Employee Working Hours	:" +WorkingHours);
	}
	
}

interface EmployeePersonalInt1
{
	void GetEmpInformation1(int EmpAge, int EmpSalary, String EmpName, String EmpAddress);
	void PutEmpInformation1();
	
}

public class Interface1 extends EmployeePersonal1 
{
	public static void main(String[] args)
	{
		EmployeePersonal1 EmpPer1 = new EmployeePersonal1();
	//	EmployeeOfficial1 EmpOff1 = new EmployeeOfficial1();
		EmpPer1.GetEmpInformation1(25, 15000, "ARIJIT ALUNI", "RASOOLPURA, SECUNDERABAD - 500003");
		EmpPer1.GetEmpInformation2(9, "I-SERIES", "DEVELOPER");
		EmpPer1.PutEmpInformation1();
		EmpPer1.PutEmpInformation2();
	}
}
